How to extract a dts from an Android Phone
How to extract a dts from an Android Phone 1) Get its boot.img $ adb pull /dev/block/bootdevice/by-name/boot boot.img 2) Find out which dts is the device using $ adb logcat # the device's boot process, watch the first few lines. 3) split the boo...
Cool. Just tested it, it is more useful than split_bootimg.pl (and it comes on CM! \o/), I guess this will be my go-to tool for this, from now on ;-)
In any case, it will only replace the "split_bootimg" step with an "unpackbootimg" step, all the rest of the walk-thru stays the same.
Thanks for your input!
mkdir initrd
(cd initrd; cat ../boot.img-ramdisk.gz | gunzip | cpio -id)
... edit your ramdisk ...
(cd initrd; find . | cpio -H newc -o | gzip > ../boot.img-ramdisk.gz)